package com.zkr.subclass.service;

import com.zkr.subclass.model.SubClassAddVo;
import com.zkr.subclass.model.SubClassSelectVo;
import com.zkr.subclass.model.SubClassUpdateStatusVo;
import com.zkr.subclass.model.SubClassUpdateVo;
import com.zkr.util.ResultVo;

import javax.validation.Valid;

/**
 * Created by lenovo on 2020/12/10.
 */

public interface SubClassService {
    ResultVo queryPage(SubClassSelectVo subClassSelectVo);

    ResultVo add(@Valid SubClassAddVo subClassAddVo);

   ResultVo queryById(Integer id);

    ResultVo update(@Valid SubClassUpdateVo subClassUpdateVo);

    ResultVo updateStatus(@Valid SubClassUpdateStatusVo subClassUpdateStatusVo);






}
